/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.vod.gauss.utils;

/**
 * 
 * @author Dimby
 */
public class Convert {
	/**
	 * 
	 * @param value
	 * @return
	 */
	public static int byteToUint8(byte value) {
		return value & 255;
	}

	/**
	 * 
	 * @param value
	 * @return
	 */
	public static byte uint8ToByte(int value) {
		return (byte) (value % 256);
	}
}
